<template>
  <div>
  dsadddd
    <div :id="elementid"  style="height: 80vh;width:80vw"></div>
  </div>
</template>

<script setup lang="ts">
import { toRefs ,ref} from "vue";

import { useScene } from "@/hooks/bimface";
import { getModelViewToken } from "@/api/bimface/accessCredentials";

import  service from "@/api/Bimface"

// const props = defineProps({
//   modelId: {
//     type: String,
//     default: "",
//   },
// });
// service({
//   url:"45"
// })
const  modelId  = ref<string>("10000834765207");
const { elementid } = useScene(modelId, getModelViewToken);
</script>
